package com.fy.tt.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 语义表
 * </p>
 *
 * @author xiaoliang
 * @since 2021-07-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
//@TableName("bls_semantic")
//@ApiModel(value="Semantic对象", description="语义表")
@Table(name = "bls_semantic")
public class Semantic implements Serializable {

    private static final long serialVersionUID = 1L;

    //    @TableId(value = "id", type = IdType.AUTO)
    @Id
    @Column(name = "id")
    private Long id;

    //    @ApiModelProperty(value = "词汇语义类类名")
    @Column(name = "class_name")
    private String className;

    //    @ApiModelProperty(value = "词汇语义代码说明")
    @Column(name = "code_description")
    private String codeDescription;

    //    @ApiModelProperty(value = "词汇语义代码")
    @Column(name = "code")
    private String code;

    //    @ApiModelProperty(value = "词汇语义代码开发用户id列表")
    @Column(name = "developer_ids")
    private String developerIds;

    //    @ApiModelProperty(value = "所属场景区id（ObjBandID）")
    @Column(name = "band_obj_id")
    private Long bandObjId;

    //    @ApiModelProperty(value = "词汇id")
    @Column(name = "word_id")
    private Long wordId;

    //    @ApiModelProperty(value = "类别：1：名词 2：动词 3：形容词 4：副词 5：数词 6：量词 7：代词 8：叹词  9：拟声词 10：介词 11：连词 12：助词")
    @Column(name = "type")
    private Integer type;

    //    @ApiModelProperty(value = "更新时间（需要更新对应objBandID，bls_parser中words_update_time字段）")
//    @TableField(fill = FieldFill.INSERT_UPDATE)
    @Column(name = "update_time")
    private Date updateTime;

}
